package com.ycz.pattern.behaviour.chainpattern;

/**
 * @author yancz
 * @ClassName ConsoleLogger
 * @description: TODO
 * @date 2023-11-28 16:01:04
 * @version: 1.0
 */
public class ConsoleLogger extends AbstractLogger {

    public ConsoleLogger(int level) {
        this.level = level;
    }

    @Override
    protected void write(String message) {
        System.out.println("标准日志：" + message);
    }
}
